object ecf: Tecf
  Left = -8
  Top = -8
  Width = 1296
  Height = 978
  BorderIcons = []
  Caption = 'Exporta ECF'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  FormStyle = fsMDIChild
  Icon.Data = {
    0000010001002020100000000000E80200001600000028000000200000004000
    0000010004000000000080020000000000000000000000000000000000000000
    0000000080000080000000808000800000008000800080800000C0C0C0008080
    80000000FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF000000
    000000000000C000000000000000000000000000000E6E000000000000000000
    0000000000E666E00000000000000000000000000E66666E0000000000000000
    00000000E6666666E0000000000000000000000E666666666E00000000000000
    000000E66666666666E0000000000000CCCCCCCCCCCCCCCCCCCCCCCC00000000
    C7777777777447777777777C00000000C7FFFFFFF774477FFFFFFF7C00000000
    C7FFFFFFF707F07FFFFFFF7C00000000C7FFFFFFF774477FFFFFFF7C00000000
    C7FFFFFFF77447044FFFFF7CE000000EC7777777777447C04347777C6E0000E6
    C7FFFFFFF707F0743384FF7C66E00E66C7FFFFFFF7744773BF384F7C666CC666
    C7FFFFFFF774477F3BF3847C66E00E66C7FFFFFFF774477FF3BF384C6E0000E6
    C7FFFFFFF707F07FFF3BF38CE000000EC7777777777447777773BF3800000000
    C7FFFFFFF774477FFFFF3BF380000000C7FFFFFFF774477FFFFFF3BF08000000
    C7FFFFFFF707F07FFFFFFF30DB100000C7FFFFFFF774477FFFFFFF73BD110000
    C7777777777447777777777C99D10000CCCCCCCCCCCCCCCCCCCCCCCC09900000
    000000E666666666E0000000000000000000000E6666666E0000000000000000
    00000000E66666E00000000000000000000000000E666E000000000000000000
    0000000000E6E000000000000000000000000000000C0000000000000000FFFE
    3FFFFFFC1FFFFFF80FFFFFF007FFFFE003FFFFC001FFFF8000FFF000000FF000
    000FF000000FF000000FF0000007E0000003C000000180000000000000000000
    00000000000180000003C0000007E0000007F0000003F0000001F0000000F000
    0000F0000009FF8003FFFFC007FFFFE00FFFFFF01FFFFFF83FFFFFFC7FFF}
  KeyPreview = True
  OldCreateOrder = False
  Position = poDefault
  Visible = True
  OnClose = FormClose
  OnKeyUp = FormKeyUp
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object Label3: TLabel
    Left = 16
    Top = 8
    Width = 140
    Height = 16
    Caption = 'Escolha a Empresa:'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clRed
    Font.Height = -13
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object Label8: TLabel
    Left = 16
    Top = 298
    Width = 641
    Height = 13
    Caption = 
      '|________________________ICMS_____________________|_________DAPI' +
      '__________|_______IPI________|'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clRed
    Font.Height = -11
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold, fsUnderline]
    ParentFont = False
  end
  object RichEdit1: TRichEdit
    Left = 800
    Top = 496
    Width = 185
    Height = 225
    TabOrder = 13
    Visible = False
    WordWrap = False
  end
  object BitBtn1: TBitBtn
    Left = 244
    Top = 246
    Width = 165
    Height = 25
    Caption = 'Exportar'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clRed
    Font.Height = -11
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    ParentFont = False
    PopupMenu = PopupMenu1
    TabOrder = 1
    OnClick = BitBtn1Click
  end
  object FileListBox1: TFileListBox
    Left = 416
    Top = 48
    Width = 377
    Height = 225
    BevelInner = bvLowered
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -13
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    ItemHeight = 16
    Mask = '*.txt'
    ParentFont = False
    TabOrder = 2
    OnClick = FileListBox1Click
    OnEnter = FileListBox1Enter
  end
  object ShellTreeView1: TShellTreeView
    Left = 16
    Top = 48
    Width = 393
    Height = 137
    ObjectTypes = [otFolders]
    Root = 'rfMyComputer'
    UseShellImages = True
    AutoRefresh = False
    Indent = 19
    ParentColor = False
    RightClickSelect = True
    ShowRoot = False
    TabOrder = 0
    OnClick = ShellTreeView1Click
  end
  object Memo1: TMemo
    Left = 304
    Top = 96
    Width = 129
    Height = 25
    TabOrder = 3
    Visible = False
  end
  object Edit2: TEdit
    Left = 800
    Top = 304
    Width = 49
    Height = 21
    TabOrder = 4
    Visible = False
  end
  object Edit3: TEdit
    Left = 800
    Top = 280
    Width = 49
    Height = 21
    TabOrder = 5
    Visible = False
  end
  object Memo2: TMemo
    Left = 800
    Top = 256
    Width = 81
    Height = 17
    TabOrder = 6
    Visible = False
    WordWrap = False
  end
  object Memo3: TMemo
    Left = 800
    Top = 232
    Width = 57
    Height = 17
    Font.Charset = ANSI_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'Courier New'
    Font.Style = []
    ParentFont = False
    TabOrder = 7
    Visible = False
    WordWrap = False
  end
  object DBGrid1: TDBGrid
    Left = 16
    Top = 315
    Width = 777
    Height = 238
    DataSource = DataSource3
    TabOrder = 9
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
    OnCellClick = DBGrid1CellClick
    OnDrawColumnCell = DBGrid1DrawColumnCell
    Columns = <
      item
        Expanded = False
        FieldName = 'CFOP'
        Title.Alignment = taCenter
        Width = 50
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'VALOR'
        Title.Alignment = taCenter
        Width = 47
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'BASE'
        Title.Alignment = taCenter
        Width = 51
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'ALIQUOTA'
        Title.Alignment = taCenter
        Title.Caption = 'ALIQ.'
        Width = 43
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'ICMS'
        Title.Alignment = taCenter
        Width = 40
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'ISENTO'
        Title.Alignment = taCenter
        Width = 49
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'OUTRAS'
        Title.Alignment = taCenter
        Width = 52
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'DIFERIDODAPI'
        Title.Alignment = taCenter
        Title.Caption = 'DIFERIDO'
        Width = 57
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'ISENTODAPI'
        Title.Alignment = taCenter
        Title.Caption = 'ISENTO'
        Width = 53
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'OUTRASDAPI'
        Title.Caption = 'OUTRAS'
        Width = 53
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'BCIPI'
        Width = 42
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'IPI'
        Width = 27
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'OUTRASIPI'
        Title.Alignment = taCenter
        Title.Caption = 'OUTRAS'
        Width = 52
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'SITUACAO'
        Title.Caption = 'Situa'#231#227'o'
        Width = 43
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'CLP'
        Width = 33
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'IMPORTAR'
        Title.Caption = 'S/N'
        Width = 29
        Visible = True
      end>
  end
  object DBEdit1: TDBEdit
    Left = 72
    Top = 24
    Width = 721
    Height = 21
    DataField = 'nome_empresa'
    DataSource = DataSource4
    Enabled = False
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    ParentFont = False
    TabOrder = 10
  end
  object Edit1: TEdit
    Left = 104
    Top = 424
    Width = 65
    Height = 21
    TabOrder = 11
    Visible = False
  end
  object Edit5: TEdit
    Left = 176
    Top = 424
    Width = 65
    Height = 21
    TabOrder = 12
    Visible = False
  end
  object RadioGroup5: TRadioGroup
    Left = 16
    Top = 240
    Width = 217
    Height = 33
    Caption = 'Filtro'
    Columns = 2
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    Items.Strings = (
      'Saida'
      'Entrada')
    ParentFont = False
    TabOrder = 14
    OnClick = RadioGroup5Click
    OnEnter = RadioGroup5Enter
  end
  object Button1: TButton
    Left = 384
    Top = 384
    Width = 65
    Height = 25
    Caption = 'Button1'
    TabOrder = 8
    Visible = False
    OnClick = Button1Click
  end
  object memo4: TMemo
    Left = 800
    Top = 352
    Width = 185
    Height = 25
    TabOrder = 15
    Visible = False
    WordWrap = False
  end
  object Edit6: TEdit
    Left = 800
    Top = 384
    Width = 121
    Height = 21
    TabOrder = 16
    Visible = False
  end
  object Edit8: TEdit
    Left = 800
    Top = 432
    Width = 121
    Height = 21
    TabOrder = 17
    Visible = False
  end
  object Edit7: TEdit
    Left = 432
    Top = 488
    Width = 121
    Height = 21
    TabOrder = 18
    Visible = False
  end
  object Edit9: TEdit
    Left = 800
    Top = 408
    Width = 41
    Height = 21
    TabOrder = 19
    Visible = False
  end
  object Button2: TButton
    Left = 448
    Top = 384
    Width = 75
    Height = 25
    Caption = 'Button2'
    TabOrder = 20
    Visible = False
    OnClick = Button2Click
  end
  object Edit10: TEdit
    Left = 800
    Top = 328
    Width = 41
    Height = 21
    TabOrder = 21
    Text = 'Edit10'
    Visible = False
  end
  object gauge2: TadProgressBar
    Left = 16
    Top = 277
    Width = 777
    Height = 20
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clBlack
    Font.Height = -11
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    BorderStyle = bsNone
    BackColor = clWhite
    StartColor = clTeal
    EndColor = clYellow
    Text = '%d%%'
  end
  object RadioGroup1: TRadioGroup
    Left = 16
    Top = 192
    Width = 393
    Height = 41
    Caption = 'Tipo de Empresa do ECF'
    Columns = 3
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    ItemIndex = 0
    Items.Strings = (
      'Com'#233'rcio'
      'Ind'#250'stria'
      'Servi'#231'o')
    ParentFont = False
    TabOrder = 23
  end
  object Memo5: TMemo
    Left = 16
    Top = 560
    Width = 185
    Height = 193
    TabOrder = 24
    Visible = False
  end
  object Button3: TButton
    Left = 520
    Top = 384
    Width = 75
    Height = 25
    Caption = 'Button3'
    TabOrder = 25
    Visible = False
    OnClick = Button3Click
  end
  object CheckBox2: TCheckBox
    Left = 776
    Top = 24
    Width = 17
    Height = 17
    Checked = True
    State = cbChecked
    TabOrder = 26
  end
  object DBGrid2: TDBGrid
    Left = 16
    Top = 592
    Width = 321
    Height = 161
    DataSource = DataSource6
    TabOrder = 27
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
    Visible = False
  end
  object Memo6: TMemo
    Left = 800
    Top = 48
    Width = 185
    Height = 177
    TabOrder = 28
    Visible = False
    WordWrap = False
  end
  object Button4: TButton
    Left = 808
    Top = 464
    Width = 75
    Height = 25
    Caption = 'Button4'
    TabOrder = 29
    Visible = False
    OnClick = Button4Click
  end
  object Button5: TButton
    Left = 16
    Top = 560
    Width = 779
    Height = 25
    Caption = 'Verificar ICMS ECF do SPED'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    ParentFont = False
    TabOrder = 30
    Visible = False
    OnClick = Button5Click
  end
  object DBGrid3: TDBGrid
    Left = 360
    Top = 592
    Width = 305
    Height = 161
    DataSource = DataSource8
    TabOrder = 31
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
    Visible = False
  end
  object Button6: TButton
    Left = 664
    Top = 592
    Width = 129
    Height = 25
    Caption = 'Comparar ICMS'
    TabOrder = 32
    Visible = False
    OnClick = Button6Click
  end
  object Button7: TButton
    Left = 904
    Top = 464
    Width = 75
    Height = 25
    Caption = 'Button7'
    TabOrder = 33
    Visible = False
    OnClick = Button7Click
  end
  object CheckBox1: TCheckBox
    Left = 800
    Top = 24
    Width = 185
    Height = 17
    Caption = 'Atualizar codigo EAN'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    ParentFont = False
    TabOrder = 34
  end
  object DBEdit2: TDBEdit
    Left = 16
    Top = 24
    Width = 49
    Height = 21
    DataField = 'cod_empresa'
    DataSource = DataSource4
    Enabled = False
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    ParentFont = False
    TabOrder = 35
  end
  object DataSource1: TDataSource
    DataSet = Table11
    Left = 416
  end
  object DataSource2: TDataSource
    DataSet = Table12
    Left = 416
    Top = 32
  end
  object DataSource3: TDataSource
    DataSet = Table3
    Left = 424
    Top = 176
  end
  object ImageList1: TImageList
    Left = 816
    Top = 88
    Bitmap = {
      494C010103000400040010001000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
      0000000000003600000028000000400000001000000001002000000000000010
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000005B7000005B7000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF000000000000000000000000000005B7000005B7000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000005B7000005B700000000000000000000000000000000000000
      0000000000000000000000000000F6FFF2000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000099A8AC0000000000D8E9
      EC00D8E9EC00D8E9EC00D8E9EC00D8E9EC00D8E9EC00D8E9EC00D8E9EC00D8E9
      EC00D8E9EC00FFFFFF000000000000000000000000000005B7000005B7000005
      B700000000000000000000000000000000000000000000000000000000000000
      00000005B7000005B70000000000000000000000000000000000000000000000
      00000000000000000000178F2A0018742500C6C9C70000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000099A8AC0000000000FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00D8E9EC00FFFFFF000000000000000000000000000005B7000005B6000005
      B7000005B7000000000000000000000000000000000000000000000000000005
      B7000005B7000000000000000000000000000000000000000000000000000000
      000000000000358F4E00009607000087050058A56B0000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000099A8AC0000000000FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00D8E9EC00FFFFFF00000000000000000000000000000000000006D7000005
      BA000005B7000005B700000000000000000000000000000000000005B7000005
      B700000000000000000000000000000000000000000000000000000000000000
      000088B79D001483330000840100008C0700078A230000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000099A8AC0000000000FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00D8E9EC00FFFFFF0000000000000000000000000000000000000000000000
      00000005B7000005B7000005B600000000000005B6000005B7000005B7000000
      00000000000000000000000000000000000000000000000000000000000088B7
      9D0014833300008401000000000045AD58000074070077AF8400000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000099A8AC0000000000FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00D8E9EC00FFFFFF0000000000000000000000000000000000000000000000
      0000000000000005B6000006C7000006C7000006CE000005B400000000000000
      0000000000000000000000000000000000000000000000000000000000002163
      320014712C00000000000000000000000000238B2C002B713C00000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000099A8AC0000000000FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00D8E9EC00FFFFFF0000000000000000000000000000000000000000000000
      000000000000000000000006C1000005C1000006DA0000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000088060040A756000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000099A8AC0000000000FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00D8E9EC00FFFFFF0000000000000000000000000000000000000000000000
      0000000000000005B6000006D7000006CE000006DA000006E900000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000148F2F001C7E32008FCD
      9F00000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000099A8AC0000000000FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00D8E9EC00FFFFFF0000000000000000000000000000000000000000000000
      00000006E5000006DA000006D30000000000000000000006E5000006EF000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000148F2F001C7E
      32008FCD9F000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000099A8AC0000000000FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00D8E9EC00FFFFFF0000000000000000000000000000000000000000000006
      F8000006DA000006EF00000000000000000000000000000000000006F8000006
      F600000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000000000148F
      2F001C7E32008FCD9F0000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000099A8AC0000000000FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00D8E9EC00FFFFFF00000000000000000000000000000000000006F6000006
      F6000006F8000000000000000000000000000000000000000000000000000006
      F6000006F6000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000148F2F001C7E32008FCD9F00000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000099A8AC00000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000D8E9EC00FFFFFF000000000000000000000000000006F6000006F6000006
      F600000000000000000000000000000000000000000000000000000000000000
      0000000000000006F60000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000166E2C0019802F00000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000099A8AC0099A8AC0099A8
      AC0099A8AC0099A8AC0099A8AC0099A8AC0099A8AC0099A8AC0099A8AC0099A8
      AC0099A8AC000000000000000000000000000006F6000006F6000006F6000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000C8A2600000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000006F6000006F600000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000D7B22000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000424D3E000000000000003E000000
      2800000040000000100000000100010000000000800000000000000000000000
      000000000000000000000000FFFFFF00FFFFFFFFFFFF0000FFFFFFFCFFFF0000
      C0039FF9FEFF000080038FF3FC7F0000800387E7F87F00008003C3CFF07F0000
      8003F11FE23F00008003F83FE73F00008003FC7FFF9F00008003F83FFF8F0000
      8003F19FFFC700008003E3CFFFE300008003C7E7FFF1000080038FFBFFF90000
      80071FFFFFFD0000FFFF3FFFFFFE000000000000000000000000000000000000
      000000000000}
  end
  object DataSource4: TDataSource
    DataSet = PvTable2
    Left = 72
    Top = 288
  end
  object ACBrValidador1: TACBrValidador
    IgnorarChar = './-'
    Left = 816
    Top = 152
  end
  object PvTable2: TADOTable
    Connection = base.LEDWIN
    CursorType = ctStatic
    TableName = 'empresas'
    Left = 32
    Top = 288
    object PvTable2cod_empresa: TStringField
      FieldName = 'cod_empresa'
      Size = 4
    end
    object PvTable2nome_empresa: TStringField
      FieldName = 'nome_empresa'
      Size = 100
    end
    object PvTable2endereco: TStringField
      FieldName = 'endereco'
      Size = 40
    end
    object PvTable2numero: TStringField
      FieldName = 'numero'
      Size = 6
    end
    object PvTable2bairro: TStringField
      FieldName = 'bairro'
    end
    object PvTable2complemento: TStringField
      FieldName = 'complemento'
    end
    object PvTable2cidade: TStringField
      FieldName = 'cidade'
    end
    object PvTable2estado: TStringField
      FieldName = 'estado'
      Size = 2
    end
    object PvTable2cep: TStringField
      FieldName = 'cep'
      Size = 9
    end
    object PvTable2cgc: TStringField
      FieldName = 'cgc'
      Size = 18
    end
    object PvTable2ceivinccgc: TStringField
      FieldName = 'ceivinccgc'
      Size = 12
    end
    object PvTable2inscr_estadual: TStringField
      FieldName = 'inscr_estadual'
      Size = 16
    end
    object PvTable2inscr_municipal: TStringField
      FieldName = 'inscr_municipal'
      Size = 16
    end
    object PvTable2processo: TStringField
      FieldName = 'processo'
      Size = 30
    end
    object PvTable2decreto: TStringField
      FieldName = 'decreto'
      Size = 15
    end
    object PvTable2nome_resp: TStringField
      FieldName = 'nome_resp'
      Size = 40
    end
    object PvTable2documento: TStringField
      FieldName = 'documento'
      Size = 15
    end
    object PvTable2contador: TStringField
      FieldName = 'contador'
      Size = 40
    end
    object PvTable2crc: TStringField
      FieldName = 'crc'
      Size = 15
    end
    object PvTable2telefone: TStringField
      FieldName = 'telefone'
      Size = 15
    end
    object PvTable2telddd: TStringField
      FieldName = 'telddd'
      Size = 2
    end
    object PvTable2telnum: TStringField
      FieldName = 'telnum'
      Size = 8
    end
    object PvTable2data_arquivo: TDateTimeField
      FieldName = 'data_arquivo'
    end
    object PvTable2xfatservi: TStringField
      FieldName = 'xfatservi'
      Size = 1
    end
    object PvTable2enquadramento: TStringField
      FieldName = 'enquadramento'
      Size = 1
    end
    object PvTable2contabil: TStringField
      FieldName = 'contabil'
      Size = 1
    end
    object PvTable2fiscal: TStringField
      FieldName = 'fiscal'
      Size = 1
    end
    object PvTable2pessoal: TStringField
      FieldName = 'pessoal'
      Size = 1
    end
    object PvTable2caixa: TStringField
      FieldName = 'caixa'
      Size = 1
    end
    object PvTable2c_registro: TStringField
      FieldName = 'c_registro'
      Size = 1
    end
    object PvTable2c_diario: TSmallintField
      FieldName = 'c_diario'
    end
    object PvTable2c_ultfolhadiario: TSmallintField
      FieldName = 'c_ultfolhadiario'
    end
    object PvTable2c_razao: TSmallintField
      FieldName = 'c_razao'
    end
    object PvTable2c_ultfolharazao: TSmallintField
      FieldName = 'c_ultfolharazao'
    end
    object PvTable2c_caixa: TSmallintField
      FieldName = 'c_caixa'
    end
    object PvTable2c_ultfolhacaixa: TSmallintField
      FieldName = 'c_ultfolhacaixa'
    end
    object PvTable2c_balancete: TSmallintField
      FieldName = 'c_balancete'
    end
    object PvTable2c_ultfolhabalancete: TSmallintField
      FieldName = 'c_ultfolhabalancete'
    end
    object PvTable2c_numreg: TStringField
      FieldName = 'c_numreg'
      Size = 15
    end
    object PvTable2c_regjc: TStringField
      FieldName = 'c_regjc'
      Size = 1
    end
    object PvTable2c_datadosaldo: TDateTimeField
      FieldName = 'c_datadosaldo'
    end
    object PvTable2c_periodode: TDateTimeField
      FieldName = 'c_periodode'
    end
    object PvTable2c_periodoa: TDateTimeField
      FieldName = 'c_periodoa'
    end
    object PvTable2c_flag: TStringField
      FieldName = 'c_flag'
      Size = 1
    end
    object PvTable2c_matriz: TStringField
      FieldName = 'c_matriz'
      Size = 4
    end
    object PvTable2c_contapartida: TStringField
      FieldName = 'c_contapartida'
      Size = 10
    end
    object PvTable2c_contalucro: TStringField
      FieldName = 'c_contalucro'
      Size = 10
    end
    object PvTable2c_contaprejuizo: TStringField
      FieldName = 'c_contaprejuizo'
      Size = 10
    end
    object PvTable2f_tipo: TStringField
      FieldName = 'f_tipo'
      Size = 1
    end
    object PvTable2f_xlc: TStringField
      FieldName = 'f_xlc'
      Size = 1
    end
    object PvTable2f_xldipi: TStringField
      FieldName = 'f_xldipi'
      Size = 1
    end
    object PvTable2f_xpda291: TBCDField
      FieldName = 'f_xpda291'
      Precision = 18
      Size = 2
    end
    object PvTable2f_xpsdme: TBCDField
      FieldName = 'f_xpsdme'
      Precision = 18
      Size = 2
    end
    object PvTable2f_xpre: TBCDField
      FieldName = 'f_xpre'
      Precision = 18
      Size = 2
    end
    object PvTable2f_xprest: TBCDField
      FieldName = 'f_xprest'
      Precision = 18
      Size = 2
    end
    object PvTable2f_xcai: TStringField
      FieldName = 'f_xcai'
      Size = 3
    end
    object PvTable2f_xpisfat: TStringField
      FieldName = 'f_xpisfat'
      Size = 1
    end
    object PvTable2f_xcofins: TStringField
      FieldName = 'f_xcofins'
      Size = 1
    end
    object PvTable2f_xcsme: TStringField
      FieldName = 'f_xcsme'
      Size = 1
    end
    object PvTable2f_xcslp: TStringField
      FieldName = 'f_xcslp'
      Size = 1
    end
    object PvTable2f_xirpj: TStringField
      FieldName = 'f_xirpj'
      Size = 1
    end
    object PvTable2f_xsimples: TStringField
      FieldName = 'f_xsimples'
      Size = 1
    end
    object PvTable2f_xfatanoant: TBCDField
      FieldName = 'f_xfatanoant'
      Precision = 18
      Size = 2
    end
    object PvTable2f_xpersimple: TBCDField
      FieldName = 'f_xpersimple'
      Precision = 18
      Size = 2
    end
    object PvTable2f_xnument: TBCDField
      FieldName = 'f_xnument'
      Precision = 18
      Size = 2
    end
    object PvTable2f_xnumsai: TBCDField
      FieldName = 'f_xnumsai'
      Precision = 18
      Size = 2
    end
    object PvTable2f_xnumicm: TBCDField
      FieldName = 'f_xnumicm'
      Precision = 18
      Size = 2
    end
    object PvTable2f_xnumipi: TBCDField
      FieldName = 'f_xnumipi'
      Precision = 18
      Size = 2
    end
    object PvTable2f_xnuminv: TBCDField
      FieldName = 'f_xnuminv'
      Precision = 18
      Size = 2
    end
    object PvTable2f_xnumservi: TBCDField
      FieldName = 'f_xnumservi'
      Precision = 18
      Size = 2
    end
    object PvTable2f_xnumest: TBCDField
      FieldName = 'f_xnumest'
      Precision = 18
      Size = 2
    end
    object PvTable2f_xmodent: TStringField
      FieldName = 'f_xmodent'
      Size = 4
    end
    object PvTable2f_xmodsai: TStringField
      FieldName = 'f_xmodsai'
      Size = 4
    end
    object PvTable2f_xmodicm: TStringField
      FieldName = 'f_xmodicm'
      Size = 4
    end
    object PvTable2f_xmodipi: TStringField
      FieldName = 'f_xmodipi'
      Size = 4
    end
    object PvTable2f_xmodinv: TStringField
      FieldName = 'f_xmodinv'
      Size = 4
    end
    object PvTable2f_xmodservi: TStringField
      FieldName = 'f_xmodservi'
      Size = 4
    end
    object PvTable2f_xmodest: TStringField
      FieldName = 'f_xmodest'
      Size = 4
    end
    object PvTable2f_xcc: TStringField
      FieldName = 'f_xcc'
      Size = 1
    end
    object PvTable2f_xtabela: TStringField
      FieldName = 'f_xtabela'
      Size = 1
    end
    object PvTable2f_xredbc: TStringField
      FieldName = 'f_xredbc'
      Size = 1
    end
    object PvTable2f_xvalorfix: TBCDField
      FieldName = 'f_xvalorfix'
      Precision = 18
      Size = 2
    end
    object PvTable2f_xtipogia: TStringField
      FieldName = 'f_xtipogia'
      Size = 1
    end
    object PvTable2f_giasn: TStringField
      FieldName = 'f_giasn'
      Size = 1
    end
    object PvTable2f_xgiadisk: TStringField
      FieldName = 'f_xgiadisk'
      Size = 1
    end
    object PvTable2f_xmotsubs: TStringField
      FieldName = 'f_xmotsubs'
      Size = 44
    end
    object PvTable2f_xregime: TStringField
      FieldName = 'f_xregime'
      Size = 2
    end
    object PvTable2f_cae: TStringField
      FieldName = 'f_cae'
      Size = 8
    end
    object PvTable2f_cargo: TStringField
      FieldName = 'f_cargo'
    end
    object PvTable2f_xfundese: TStringField
      FieldName = 'f_xfundese'
      Size = 1
    end
    object PvTable2f_xmicrog: TStringField
      FieldName = 'f_xmicrog'
      Size = 2
    end
    object PvTable2f_tipoempsp: TStringField
      FieldName = 'f_tipoempsp'
      Size = 1
    end
    object PvTable2f_percsp: TBCDField
      FieldName = 'f_percsp'
      Precision = 18
      Size = 2
    end
    object PvTable2d_fpas: TStringField
      FieldName = 'd_fpas'
      Size = 3
    end
    object PvTable2d_xpissn: TStringField
      FieldName = 'd_xpissn'
      Size = 1
    end
    object PvTable2d_xnsm: TBCDField
      FieldName = 'd_xnsm'
      Precision = 18
      Size = 2
    end
    object PvTable2d_xtipoemp: TStringField
      FieldName = 'd_xtipoemp'
      Size = 1
    end
    object PvTable2d_xpercemp: TBCDField
      FieldName = 'd_xpercemp'
      Precision = 18
      Size = 2
    end
    object PvTable2d_xpercempra: TBCDField
      FieldName = 'd_xpercempra'
      Precision = 18
      Size = 2
    end
    object PvTable2d_xcodter: TStringField
      FieldName = 'd_xcodter'
      Size = 4
    end
    object PvTable2d_xperc: TBCDField
      FieldName = 'd_xperc'
      Precision = 18
      Size = 2
    end
    object PvTable2d_xcodsat: TStringField
      FieldName = 'd_xcodsat'
      Size = 10
    end
    object PvTable2d_xpersat: TBCDField
      FieldName = 'd_xpersat'
      Precision = 18
      Size = 2
    end
    object PvTable2d_xcagedsn: TStringField
      FieldName = 'd_xcagedsn'
      Size = 1
    end
    object PvTable2d_x1declarac: TStringField
      FieldName = 'd_x1declarac'
      Size = 1
    end
    object PvTable2d_xencerram: TStringField
      FieldName = 'd_xencerram'
      Size = 1
    end
    object PvTable2d_xmudaend: TStringField
      FieldName = 'd_xmudaend'
      Size = 1
    end
    object PvTable2d_xfgtssn: TStringField
      FieldName = 'd_xfgtssn'
      Size = 1
    end
    object PvTable2d_xagencia: TStringField
      FieldName = 'd_xagencia'
    end
    object PvTable2d_xbancofgts: TStringField
      FieldName = 'd_xbancofgts'
    end
    object PvTable2d_xnatestab: TStringField
      FieldName = 'd_xnatestab'
      Size = 4
    end
    object PvTable2d_xcatemp: TStringField
      FieldName = 'd_xcatemp'
      Size = 1
    end
    object PvTable2d_xnagencia: TStringField
      FieldName = 'd_xnagencia'
      Size = 7
    end
    object PvTable2d_xcontafgts: TStringField
      FieldName = 'd_xcontafgts'
      Size = 14
    end
    object PvTable2d_xccr: TStringField
      FieldName = 'd_xccr'
      Size = 1
    end
    object PvTable2d_xraissn: TStringField
      FieldName = 'd_xraissn'
      Size = 1
    end
    object PvTable2d_xproprieta: TStringField
      FieldName = 'd_xproprieta'
      Size = 2
    end
    object PvTable2d_xicgccei: TStringField
      FieldName = 'd_xicgccei'
      Size = 1
    end
    object PvTable2d_xiende: TStringField
      FieldName = 'd_xiende'
      Size = 1
    end
    object PvTable2d_xativprinc: TStringField
      FieldName = 'd_xativprinc'
      Size = 7
    end
    object PvTable2d_xprefixo: TStringField
      FieldName = 'd_xprefixo'
      Size = 2
    end
    object PvTable2d_xcausaalt: TStringField
      FieldName = 'd_xcausaalt'
      Size = 1
    end
    object PvTable2d_xcodmun: TStringField
      FieldName = 'd_xcodmun'
      Size = 7
    end
    object PvTable2d_xdatabase: TStringField
      FieldName = 'd_xdatabase'
      Size = 2
    end
    object PvTable2d_xinscrant: TStringField
      FieldName = 'd_xinscrant'
      Size = 14
    end
    object PvTable2d_xcod: TStringField
      FieldName = 'd_xcod'
      Size = 3
    end
    object PvTable2d_xcodtra: TStringField
      FieldName = 'd_xcodtra'
      Size = 3
    end
    object PvTable2d_xinicio: TDateTimeField
      FieldName = 'd_xinicio'
    end
    object PvTable2d_xatividade: TStringField
      FieldName = 'd_xatividade'
      Size = 70
    end
    object PvTable2d_xcodativ: TStringField
      FieldName = 'd_xcodativ'
      Size = 6
    end
    object PvTable2d_xcapital: TBCDField
      FieldName = 'd_xcapital'
      Precision = 18
      Size = 2
    end
    object PvTable2d_xtipoestab: TStringField
      FieldName = 'd_xtipoestab'
      Size = 1
    end
    object PvTable2d_xcodrec: TStringField
      FieldName = 'd_xcodrec'
      Size = 3
    end
    object PvTable2d_xiacnae: TStringField
      FieldName = 'd_xiacnae'
      Size = 1
    end
    object PvTable2d_xtomrais: TStringField
      FieldName = 'd_xtomrais'
      Size = 1
    end
    object PvTable2g_xvrmensa: TBCDField
      FieldName = 'g_xvrmensa'
      Precision = 18
      Size = 2
    end
    object PvTable2g_codsacado: TStringField
      FieldName = 'g_codsacado'
      Size = 12
    end
    object PvTable2xsitemp: TStringField
      FieldName = 'xsitemp'
      Size = 1
    end
    object PvTable2xdatasit: TDateTimeField
      FieldName = 'xdatasit'
    end
    object PvTable2xiss: TStringField
      FieldName = 'xiss'
      Size = 1
    end
    object PvTable2xexig: TStringField
      FieldName = 'xexig'
      Size = 1
    end
    object PvTable2g_xdiapagto: TStringField
      FieldName = 'g_xdiapagto'
      Size = 2
    end
    object PvTable2xgrupo: TStringField
      FieldName = 'xgrupo'
      Size = 2
    end
    object PvTable2xaliss: TBCDField
      FieldName = 'xaliss'
      Precision = 18
      Size = 2
    end
    object PvTable2f_codpis: TStringField
      FieldName = 'f_codpis'
      Size = 4
    end
    object PvTable2f_codcofins: TStringField
      FieldName = 'f_codcofins'
      Size = 4
    end
    object PvTable2f_codcs: TStringField
      FieldName = 'f_codcs'
      Size = 4
    end
    object PvTable2f_codirpj: TStringField
      FieldName = 'f_codirpj'
      Size = 4
    end
    object PvTable2d_pat: TStringField
      FieldName = 'd_pat'
      Size = 1
    end
    object PvTable2d_codgps: TStringField
      FieldName = 'd_codgps'
      Size = 4
    end
    object PvTable2d_percfrete: TBCDField
      FieldName = 'd_percfrete'
      Precision = 18
      Size = 2
    end
    object PvTable2d_xcnae: TStringField
      FieldName = 'd_xcnae'
      Size = 7
    end
    object PvTable2d_xpercif: TBCDField
      FieldName = 'd_xpercif'
      Precision = 18
      Size = 2
    end
    object PvTable2crcuf: TStringField
      FieldName = 'crcuf'
      Size = 2
    end
    object PvTable2cpfcontador: TStringField
      FieldName = 'cpfcontador'
      Size = 11
    end
    object PvTable2f_xcoddae: TStringField
      FieldName = 'f_xcoddae'
      Size = 10
    end
    object PvTable2f_xcoddaefun: TStringField
      FieldName = 'f_xcoddaefun'
      Size = 10
    end
    object PvTable2f_xcompvragr: TStringField
      FieldName = 'f_xcompvragr'
      Size = 1
    end
    object PvTable2f_xperc_a_a_s: TBCDField
      FieldName = 'f_xperc_a_a_s'
      Precision = 18
      Size = 2
    end
    object PvTable2f_xdesm_cae: TStringField
      FieldName = 'f_xdesm_cae'
      Size = 2
    end
    object PvTable2f_xcod_mun_irpj: TStringField
      FieldName = 'f_xcod_mun_irpj'
      Size = 4
    end
    object PvTable2f_xrev_auton: TStringField
      FieldName = 'f_xrev_auton'
      Size = 1
    end
    object PvTable2x_tipo_integ: TStringField
      FieldName = 'x_tipo_integ'
      Size = 1
    end
    object PvTable2x_data_saldo_cx: TDateTimeField
      FieldName = 'x_data_saldo_cx'
    end
    object PvTable2x_vr_saldo_cx: TBCDField
      FieldName = 'x_vr_saldo_cx'
      Precision = 18
      Size = 2
    end
    object PvTable2cx_periodode: TDateTimeField
      FieldName = 'cx_periodode'
    end
    object PvTable2cx_periodoa: TDateTimeField
      FieldName = 'cx_periodoa'
    end
    object PvTable2d_simples: TStringField
      FieldName = 'd_simples'
      Size = 1
    end
    object PvTable2f_passo: TStringField
      FieldName = 'f_passo'
      Size = 1
    end
    object PvTable2d_pat_sp: TBCDField
      FieldName = 'd_pat_sp'
      Precision = 18
      Size = 2
    end
    object PvTable2d_pat_ac: TBCDField
      FieldName = 'd_pat_ac'
      Precision = 18
      Size = 2
    end
    object PvTable2d_pat_rc: TBCDField
      FieldName = 'd_pat_rc'
      Precision = 18
      Size = 2
    end
    object PvTable2d_pat_rt: TBCDField
      FieldName = 'd_pat_rt'
      Precision = 18
      Size = 2
    end
    object PvTable2d_pat_ca: TBCDField
      FieldName = 'd_pat_ca'
      Precision = 18
      Size = 2
    end
    object PvTable2d_pat_alc: TBCDField
      FieldName = 'd_pat_alc'
      Precision = 18
      Size = 2
    end
    object PvTable2d_iea: TStringField
      FieldName = 'd_iea'
      Size = 1
    end
    object PvTable2d_xregime_pag: TStringField
      FieldName = 'd_xregime_pag'
      Size = 1
    end
    object PvTable2f_ciap: TStringField
      FieldName = 'f_ciap'
      Size = 1
    end
    object PvTable2f_issqn: TStringField
      FieldName = 'f_issqn'
      Size = 1
    end
    object PvTable2xemail_resp: TStringField
      FieldName = 'xemail_resp'
      Size = 80
    end
    object PvTable2xlayout: TStringField
      FieldName = 'xlayout'
      Size = 2
    end
    object PvTable2xbancocomp: TStringField
      FieldName = 'xbancocomp'
      Size = 3
    end
    object PvTable2xtipocc: TStringField
      FieldName = 'xtipocc'
      Size = 5
    end
    object PvTable2xbanco: TStringField
      FieldName = 'xbanco'
      Size = 30
    end
    object PvTable2xcodempbanco: TStringField
      FieldName = 'xcodempbanco'
    end
    object PvTable2xcodagencia: TStringField
      FieldName = 'xcodagencia'
      Size = 5
    end
    object PvTable2xdvagencia: TStringField
      FieldName = 'xdvagencia'
      Size = 1
    end
    object PvTable2xconta: TStringField
      FieldName = 'xconta'
      Size = 12
    end
    object PvTable2xdvconta: TStringField
      FieldName = 'xdvconta'
      Size = 1
    end
    object PvTable2xdvagenciacc: TStringField
      FieldName = 'xdvagenciacc'
      Size = 1
    end
    object PvTable2xcafe: TStringField
      FieldName = 'xcafe'
      Size = 1
    end
    object PvTable2f_tipocontrib: TStringField
      FieldName = 'f_tipocontrib'
      Size = 1
    end
    object PvTable2xativoext: TStringField
      FieldName = 'xativoext'
      Size = 1
    end
    object PvTable2f_xdf_rcdpe: TDateTimeField
      FieldName = 'f_xdf_rcdpe'
    end
    object PvTable2c_xtitulo: TStringField
      FieldName = 'c_xtitulo'
      Size = 1
    end
    object PvTable2f_xnumdupli: TBCDField
      FieldName = 'f_xnumdupli'
      Precision = 18
      Size = 2
    end
    object PvTable2f_xmoddupli: TStringField
      FieldName = 'f_xmoddupli'
      Size = 4
    end
    object PvTable2d_xmens_ho01: TStringField
      FieldName = 'd_xmens_ho01'
      Size = 50
    end
    object PvTable2d_xmens_ho02: TStringField
      FieldName = 'd_xmens_ho02'
      Size = 50
    end
    object PvTable2d_xmens_qh01: TStringField
      FieldName = 'd_xmens_qh01'
      Size = 100
    end
    object PvTable2d_xmens_qh02: TStringField
      FieldName = 'd_xmens_qh02'
      Size = 100
    end
    object PvTable2d_xmens_qh03: TStringField
      FieldName = 'd_xmens_qh03'
      Size = 100
    end
    object PvTable2d_xmens_qh04: TStringField
      FieldName = 'd_xmens_qh04'
      Size = 100
    end
    object PvTable2c_flag_lanct: TStringField
      FieldName = 'c_flag_lanct'
      Size = 1
    end
    object PvTable2f_xdesm_xcnae: TStringField
      FieldName = 'f_xdesm_xcnae'
      Size = 2
    end
    object PvTable2xexc_simples: TStringField
      FieldName = 'xexc_simples'
      Size = 1
    end
    object PvTable2xdt_exc_simples: TDateTimeField
      FieldName = 'xdt_exc_simples'
    end
    object PvTable2xop_refis: TStringField
      FieldName = 'xop_refis'
      Size = 1
    end
    object PvTable2xop_paes: TStringField
      FieldName = 'xop_paes'
      Size = 1
    end
    object PvTable2xcontrib_ipi: TStringField
      FieldName = 'xcontrib_ipi'
      Size = 1
    end
    object PvTable2xcontrib_icms: TStringField
      FieldName = 'xcontrib_icms'
      Size = 1
    end
    object PvTable2xconv_estado: TStringField
      FieldName = 'xconv_estado'
      Size = 1
    end
    object PvTable2xmes_conv_estado: TStringField
      FieldName = 'xmes_conv_estado'
      Size = 2
    end
    object PvTable2xlimite_conv_estado: TStringField
      FieldName = 'xlimite_conv_estado'
      Size = 1
    end
    object PvTable2xcontrib_iss: TStringField
      FieldName = 'xcontrib_iss'
      Size = 1
    end
    object PvTable2xconv_munic: TStringField
      FieldName = 'xconv_munic'
      Size = 1
    end
    object PvTable2xmes_conv_munic: TStringField
      FieldName = 'xmes_conv_munic'
      Size = 2
    end
    object PvTable2xlimite_conv_munic: TStringField
      FieldName = 'xlimite_conv_munic'
      Size = 1
    end
    object PvTable2xexpcaixa: TBCDField
      FieldName = 'xexpcaixa'
      Precision = 18
      Size = 2
    end
    object PvTable2xordem: TSmallintField
      FieldName = 'xordem'
    end
    object PvTable2xmodalidade: TStringField
      FieldName = 'xmodalidade'
      Size = 1
    end
    object PvTable2xsindassoc: TStringField
      FieldName = 'xsindassoc'
      Size = 3
    end
    object PvTable2xvrassoc: TBCDField
      FieldName = 'xvrassoc'
      Precision = 18
      Size = 2
    end
    object PvTable2xsindsind: TStringField
      FieldName = 'xsindsind'
      Size = 3
    end
    object PvTable2xvrsind: TBCDField
      FieldName = 'xvrsind'
      Precision = 18
      Size = 2
    end
    object PvTable2xsindassis: TStringField
      FieldName = 'xsindassis'
      Size = 3
    end
    object PvTable2xvrassis: TBCDField
      FieldName = 'xvrassis'
      Precision = 18
      Size = 2
    end
    object PvTable2xsindconf: TStringField
      FieldName = 'xsindconf'
      Size = 3
    end
    object PvTable2xvrconf: TBCDField
      FieldName = 'xvrconf'
      Precision = 18
      Size = 2
    end
    object PvTable2xexerativ: TStringField
      FieldName = 'xexerativ'
      Size = 1
    end
    object PvTable2xsenhaweb: TStringField
      FieldName = 'xsenhaweb'
      Size = 13
    end
    object PvTable2xemail_web: TStringField
      FieldName = 'xemail_web'
      Size = 80
    end
    object PvTable2xexibirweb: TStringField
      FieldName = 'xexibirweb'
      Size = 1
    end
    object PvTable2xcriterio: TStringField
      FieldName = 'xcriterio'
      Size = 1
    end
    object PvTable2xtipologra: TStringField
      FieldName = 'xtipologra'
      Size = 2
    end
    object PvTable2xorgao: TStringField
      FieldName = 'xorgao'
      Size = 1
    end
    object PvTable2xsocioscp: TSmallintField
      FieldName = 'xsocioscp'
    end
    object PvTable2xmetodo: TStringField
      FieldName = 'xmetodo'
      Size = 1
    end
    object PvTable2xpartper: TStringField
      FieldName = 'xpartper'
      Size = 1
    end
    object PvTable2xcomelet: TStringField
      FieldName = 'xcomelet'
      Size = 1
    end
    object PvTable2xroyalrec: TStringField
      FieldName = 'xroyalrec'
      Size = 1
    end
    object PvTable2xroyalpag: TStringField
      FieldName = 'xroyalpag'
      Size = 1
    end
    object PvTable2xrendrel: TStringField
      FieldName = 'xrendrel'
      Size = 1
    end
    object PvTable2xpagrem: TStringField
      FieldName = 'xpagrem'
      Size = 1
    end
    object PvTable2xmajoracao: TStringField
      FieldName = 'xmajoracao'
      Size = 1
    end
    object PvTable2g_xcontainteg: TStringField
      FieldName = 'g_xcontainteg'
      Size = 10
    end
    object PvTable2xcompresumo: TStringField
      FieldName = 'xcompresumo'
      Size = 1
    end
    object PvTable2xinovtec: TStringField
      FieldName = 'xinovtec'
      Size = 1
    end
    object PvTable2xtrib1t: TStringField
      FieldName = 'xtrib1t'
      Size = 1
    end
    object PvTable2xtrib2t: TStringField
      FieldName = 'xtrib2t'
      Size = 1
    end
    object PvTable2xqualifpj: TStringField
      FieldName = 'xqualifpj'
      Size = 2
    end
    object PvTable2xbalanco: TStringField
      FieldName = 'xbalanco'
      Size = 1
    end
    object PvTable2xmes1: TStringField
      FieldName = 'xmes1'
      Size = 1
    end
    object PvTable2xmes2: TStringField
      FieldName = 'xmes2'
      Size = 1
    end
    object PvTable2xmes3: TStringField
      FieldName = 'xmes3'
      Size = 1
    end
    object PvTable2xmes4: TStringField
      FieldName = 'xmes4'
      Size = 1
    end
    object PvTable2xmes5: TStringField
      FieldName = 'xmes5'
      Size = 1
    end
    object PvTable2xmes6: TStringField
      FieldName = 'xmes6'
      Size = 1
    end
    object PvTable2xscp: TStringField
      FieldName = 'xscp'
      Size = 1
    end
    object PvTable2xincorp: TStringField
      FieldName = 'xincorp'
      Size = 1
    end
    object PvTable2xdctf: TStringField
      FieldName = 'xdctf'
      Size = 1
    end
    object PvTable2xvarpis: TStringField
      FieldName = 'xvarpis'
      Size = 2
    end
    object PvTable2xvarcofins: TStringField
      FieldName = 'xvarcofins'
      Size = 2
    end
    object PvTable2xvarcs: TStringField
      FieldName = 'xvarcs'
      Size = 2
    end
    object PvTable2xvarirpj: TStringField
      FieldName = 'xvarirpj'
      Size = 2
    end
    object PvTable2f_xipi: TStringField
      FieldName = 'f_xipi'
      Size = 1
    end
    object PvTable2f_codipi: TStringField
      FieldName = 'f_codipi'
      Size = 4
    end
    object PvTable2xvaripi: TStringField
      FieldName = 'xvaripi'
      Size = 2
    end
    object PvTable2xindcentr: TStringField
      FieldName = 'xindcentr'
      Size = 1
    end
    object PvTable2xintegclp: TStringField
      FieldName = 'xintegclp'
      Size = 1
    end
    object PvTable2xpjcomexp: TStringField
      FieldName = 'xpjcomexp'
      Size = 1
    end
    object PvTable2xpjefet: TStringField
      FieldName = 'xpjefet'
      Size = 1
    end
    object PvTable2xaliq_cofins: TBCDField
      FieldName = 'xaliq_cofins'
      Precision = 18
      Size = 2
    end
    object PvTable2xaliq_cs: TBCDField
      FieldName = 'xaliq_cs'
      Precision = 18
      Size = 2
    end
    object PvTable2xfat_serv_cs: TStringField
      FieldName = 'xfat_serv_cs'
      Size = 1
    end
    object PvTable2xsuframa: TStringField
      FieldName = 'xsuframa'
      Size = 9
    end
    object PvTable2xind_perfil: TStringField
      FieldName = 'xind_perfil'
      Size = 1
    end
    object PvTable2xind_ativ: TStringField
      FieldName = 'xind_ativ'
      Size = 1
    end
    object PvTable2xsped_fiscal: TStringField
      FieldName = 'xsped_fiscal'
      Size = 1
    end
    object PvTable2xconv_icms_115: TStringField
      FieldName = 'xconv_icms_115'
      Size = 1
    end
    object PvTable2xapuripi: TStringField
      FieldName = 'xapuripi'
      Size = 1
    end
    object PvTable2xsped_contabil: TStringField
      FieldName = 'xsped_contabil'
      Size = 1
    end
    object PvTable2xcod_ent_ref_conta: TStringField
      FieldName = 'xcod_ent_ref_conta'
      Size = 2
    end
    object PvTable2xcod_ent_ref_cad: TStringField
      FieldName = 'xcod_ent_ref_cad'
      Size = 2
    end
    object PvTable2xpjcsll15: TStringField
      FieldName = 'xpjcsll15'
      Size = 1
    end
    object PvTable2xoprtt: TStringField
      FieldName = 'xoprtt'
      Size = 1
    end
    object PvTable2xconttec: TStringField
      FieldName = 'xconttec'
      Size = 1
    end
    object PvTable2xesc_cent: TStringField
      FieldName = 'xesc_cent'
      Size = 1
    end
    object PvTable2xfap: TBCDField
      FieldName = 'xfap'
      Precision = 18
      Size = 2
    end
    object PvTable2xpconta11638: TStringField
      FieldName = 'xpconta11638'
      Size = 4
    end
    object PvTable2xseqiss: TIntegerField
      FieldName = 'xseqiss'
    end
    object PvTable2xnome_fantasia: TStringField
      FieldName = 'xnome_fantasia'
      Size = 40
    end
    object PvTable2xcod_inc_trib: TStringField
      FieldName = 'xcod_inc_trib'
      Size = 1
    end
    object PvTable2xind_apro_cred: TStringField
      FieldName = 'xind_apro_cred'
      Size = 1
    end
    object PvTable2xcod_tipo_cont: TStringField
      FieldName = 'xcod_tipo_cont'
      Size = 1
    end
    object PvTable2xrec_cred_ret: TStringField
      FieldName = 'xrec_cred_ret'
      Size = 1
    end
    object PvTable2xind_nat_pj: TStringField
      FieldName = 'xind_nat_pj'
      Size = 2
    end
    object PvTable2xcrit_rec_vmon: TStringField
      FieldName = 'xcrit_rec_vmon'
      Size = 1
    end
    object PvTable2xaus_deb_jan: TStringField
      FieldName = 'xaus_deb_jan'
      Size = 1
    end
    object PvTable2xaus_deb_fev: TStringField
      FieldName = 'xaus_deb_fev'
      Size = 1
    end
    object PvTable2xaus_deb_mar: TStringField
      FieldName = 'xaus_deb_mar'
      Size = 1
    end
    object PvTable2xaus_deb_abr: TStringField
      FieldName = 'xaus_deb_abr'
      Size = 1
    end
    object PvTable2xaus_deb_mai: TStringField
      FieldName = 'xaus_deb_mai'
      Size = 1
    end
    object PvTable2xaus_deb_jun: TStringField
      FieldName = 'xaus_deb_jun'
      Size = 1
    end
    object PvTable2xaus_deb_jul: TStringField
      FieldName = 'xaus_deb_jul'
      Size = 1
    end
    object PvTable2xaus_deb_ago: TStringField
      FieldName = 'xaus_deb_ago'
      Size = 1
    end
    object PvTable2xaus_deb_set: TStringField
      FieldName = 'xaus_deb_set'
      Size = 1
    end
    object PvTable2xaus_deb_out: TStringField
      FieldName = 'xaus_deb_out'
      Size = 1
    end
    object PvTable2xaus_deb_nov: TStringField
      FieldName = 'xaus_deb_nov'
      Size = 1
    end
    object PvTable2xaus_deb_dez: TStringField
      FieldName = 'xaus_deb_dez'
      Size = 1
    end
    object PvTable2xapu_pis_cof: TStringField
      FieldName = 'xapu_pis_cof'
      Size = 1
    end
    object PvTable2xpj_ativ_mes: TStringField
      FieldName = 'xpj_ativ_mes'
      Size = 1
    end
    object PvTable2xdeb_scp_inc: TStringField
      FieldName = 'xdeb_scp_inc'
      Size = 1
    end
    object PvTable2xcd_int_empresa: TAutoIncField
      FieldName = 'xcd_int_empresa'
      ReadOnly = True
    end
    object PvTable2xdt_ato_simp_emp: TDateTimeField
      FieldName = 'xdt_ato_simp_emp'
    end
    object PvTable2f_xnumservi_tom: TIntegerField
      FieldName = 'f_xnumservi_tom'
    end
    object PvTable2f_xmodservi_tom: TStringField
      FieldName = 'f_xmodservi_tom'
      Size = 4
    end
    object PvTable2xlucro_real_lei: TStringField
      FieldName = 'xlucro_real_lei'
      Size = 1
    end
    object PvTable2xobs_empresa: TMemoField
      FieldName = 'xobs_empresa'
      BlobType = ftMemo
    end
    object PvTable2xlei4056: TStringField
      FieldName = 'xlei4056'
      Size = 1
    end
  end
  object PvTable1: TADOTable
    Connection = base.LED
    TableName = 'FORNE'
    Left = 144
    object PvTable1xid: TAutoIncField
      FieldName = 'xid'
      ReadOnly = True
    end
    object PvTable1xcodigo: TStringField
      FieldName = 'xcodigo'
      Size = 5
    end
    object PvTable1cgc: TStringField
      FieldName = 'cgc'
      Size = 14
    end
    object PvTable1razao: TStringField
      FieldName = 'razao'
      Size = 40
    end
    object PvTable1inscr: TStringField
      FieldName = 'inscr'
      Size = 16
    end
    object PvTable1uf: TStringField
      FieldName = 'uf'
      Size = 2
    end
    object PvTable1xccf: TStringField
      FieldName = 'xccf'
      Size = 10
    end
    object PvTable1xccclie: TStringField
      FieldName = 'xccclie'
      Size = 10
    end
    object PvTable1xcmun: TStringField
      FieldName = 'xcmun'
      Size = 5
    end
    object PvTable1xcidade: TStringField
      FieldName = 'xcidade'
      Size = 30
    end
    object PvTable1xende: TStringField
      FieldName = 'xende'
      Size = 40
    end
    object PvTable1xnumero: TStringField
      FieldName = 'xnumero'
      Size = 6
    end
    object PvTable1xbairro: TStringField
      FieldName = 'xbairro'
    end
    object PvTable1xcep: TStringField
      FieldName = 'xcep'
      Size = 9
    end
    object PvTable1xtel: TStringField
      FieldName = 'xtel'
    end
    object PvTable1xcontato: TStringField
      FieldName = 'xcontato'
    end
    object PvTable1xemail: TStringField
      FieldName = 'xemail'
      Size = 40
    end
    object PvTable1xinscr_municipal: TStringField
      FieldName = 'xinscr_municipal'
      Size = 16
    end
    object PvTable1xtiporua: TStringField
      FieldName = 'xtiporua'
      Size = 10
    end
    object PvTable1xtipobairro: TStringField
      FieldName = 'xtipobairro'
      Size = 10
    end
    object PvTable1xmeepp: TStringField
      FieldName = 'xmeepp'
      Size = 1
    end
    object PvTable1xcod_pais: TStringField
      FieldName = 'xcod_pais'
      Size = 5
    end
    object PvTable1xsuframa: TStringField
      FieldName = 'xsuframa'
      Size = 9
    end
    object PvTable1d_xcodmun: TStringField
      FieldName = 'd_xcodmun'
      Size = 7
    end
  end
  object DataSource5: TDataSource
    DataSet = principal
    Left = 424
    Top = 144
  end
  object principal: TADOTable
    Connection = base.ECF
    CursorType = ctStatic
    IndexName = 'Indice'
    TableName = 'ECF'
    Left = 384
    Top = 144
    object principalNOTA: TStringField
      FieldName = 'NOTA'
      Size = 9
    end
    object principalDATA: TDateTimeField
      FieldName = 'DATA'
    end
    object principalCNPJ: TStringField
      FieldName = 'CNPJ'
      Size = 14
    end
    object principalMODELO: TStringField
      FieldName = 'MODELO'
      Size = 2
    end
    object principalSERIE: TStringField
      FieldName = 'SERIE'
      Size = 3
    end
    object principalUF: TStringField
      FieldName = 'UF'
      Size = 2
    end
    object principalCFOP: TStringField
      FieldName = 'CFOP'
      Size = 4
    end
    object principalBASECALCICMS: TFloatField
      FieldName = 'BASECALCICMS'
    end
    object principalICMS: TFloatField
      FieldName = 'ICMS'
    end
    object principalISENTO: TFloatField
      FieldName = 'ISENTO'
    end
    object principalOUTRAS: TFloatField
      FieldName = 'OUTRAS'
    end
    object principalIPI: TFloatField
      FieldName = 'IPI'
    end
    object principalBASECALCIPI: TFloatField
      FieldName = 'BASECALCIPI'
    end
    object principalBASEST: TFloatField
      FieldName = 'BASEST'
    end
    object principalICMSST: TFloatField
      FieldName = 'ICMSST'
    end
    object principalCLP: TStringField
      FieldName = 'CLP'
      Size = 4
    end
    object principalCANCELADA: TStringField
      FieldName = 'CANCELADA'
      Size = 1
    end
    object principalNUMEROECF: TStringField
      FieldName = 'NUMEROECF'
      Size = 3
    end
    object principalCOOINICIAL: TStringField
      FieldName = 'COOINICIAL'
      Size = 6
    end
    object principalCOOFINAL: TStringField
      FieldName = 'COOFINAL'
      Size = 6
    end
    object principalCRO: TStringField
      FieldName = 'CRO'
      Size = 3
    end
    object principalVALORTOTALACUMULADO: TFloatField
      FieldName = 'VALORTOTALACUMULADO'
    end
    object principalTRIBUTACAO: TStringField
      FieldName = 'TRIBUTACAO'
      Size = 1
    end
    object principalSEQUENCIA: TIntegerField
      FieldName = 'SEQUENCIA'
    end
    object principalOUTRASIPI: TFloatField
      FieldName = 'OUTRASIPI'
    end
    object principalCODPRODUTO: TStringField
      FieldName = 'CODPRODUTO'
      Size = 14
    end
    object principalREGISTROFILHO: TStringField
      FieldName = 'REGISTROFILHO'
      Size = 1
    end
    object principalSIT_TRIB: TIntegerField
      FieldName = 'SIT_TRIB'
    end
    object principalCOMERCIO: TIntegerField
      FieldName = 'COMERCIO'
    end
    object principalCONTADORZ: TStringField
      FieldName = 'CONTADORZ'
      Size = 6
    end
    object principalIPINAOAPROV: TFloatField
      FieldName = 'IPINAOAPROV'
    end
    object principalSITTRIBUTADA: TStringField
      FieldName = 'SITTRIBUTADA'
      Size = 4
    end
    object principalPROPRIO: TStringField
      FieldName = 'PROPRIO'
      Size = 1
    end
    object principalALIQUOTA: TFloatField
      FieldName = 'ALIQUOTA'
    end
    object principalNOTA2: TStringField
      FieldName = 'NOTA2'
      Size = 9
    end
    object principalIE: TStringField
      FieldName = 'IE'
      Size = 30
    end
    object principalemissao: TDateTimeField
      FieldName = 'emissao'
    end
    object principalREGISTRO: TWideStringField
      FieldName = 'REGISTRO'
      FixedChar = True
      Size = 4
    end
    object principalVALORCONTABIL: TFloatField
      FieldName = 'VALORCONTABIL'
    end
    object principalXLC: TStringField
      FieldName = 'XLC'
      Size = 1
    end
    object principalkwh: TFloatField
      FieldName = 'kwh'
    end
  end
  object Table3: TADOTable
    Connection = base.ECF
    CursorType = ctStatic
    OnFilterRecord = Table3FilterRecord
    IndexFieldNames = 'CFOP;'
    TableName = 'CFOP'
    Left = 384
    Top = 176
    object Table3CFOP: TStringField
      FieldName = 'CFOP'
      Size = 4
    end
    object Table3SEQUENCIA: TIntegerField
      FieldName = 'SEQUENCIA'
    end
    object Table3VALOR: TSmallintField
      FieldName = 'VALOR'
    end
    object Table3BASE: TSmallintField
      FieldName = 'BASE'
    end
    object Table3ALIQUOTA: TSmallintField
      FieldName = 'ALIQUOTA'
    end
    object Table3ICMS: TSmallintField
      FieldName = 'ICMS'
    end
    object Table3ISENTO: TSmallintField
      FieldName = 'ISENTO'
    end
    object Table3OUTRAS: TSmallintField
      FieldName = 'OUTRAS'
    end
    object Table3DIFERIDODAPI: TSmallintField
      FieldName = 'DIFERIDODAPI'
    end
    object Table3ISENTODAPI: TSmallintField
      FieldName = 'ISENTODAPI'
    end
    object Table3OUTRASIPI: TSmallintField
      FieldName = 'OUTRASIPI'
    end
    object Table3CAMPO1: TStringField
      FieldName = 'CAMPO1'
      Size = 12
    end
    object Table3CAMPO2: TStringField
      FieldName = 'CAMPO2'
      Size = 12
    end
    object Table3CAMPO3: TStringField
      FieldName = 'CAMPO3'
      Size = 12
    end
    object Table3CAMPO4: TStringField
      FieldName = 'CAMPO4'
      Size = 12
    end
    object Table3CAMPO5: TStringField
      FieldName = 'CAMPO5'
      Size = 12
    end
    object Table3CAMPO6: TStringField
      FieldName = 'CAMPO6'
      Size = 12
    end
    object Table3CAMPO7: TStringField
      FieldName = 'CAMPO7'
      Size = 12
    end
    object Table3CAMPO8: TStringField
      FieldName = 'CAMPO8'
      Size = 12
    end
    object Table3CAMPO9: TStringField
      FieldName = 'CAMPO9'
      Size = 12
    end
    object Table3SITUACAO: TStringField
      FieldName = 'SITUACAO'
      Size = 1
    end
    object Table3CLP: TStringField
      FieldName = 'CLP'
      Size = 4
    end
    object Table3DATA: TDateTimeField
      FieldName = 'DATA'
    end
    object Table3NF: TStringField
      FieldName = 'NF'
      Size = 9
    end
    object Table3IMPORTAR: TSmallintField
      FieldName = 'IMPORTAR'
    end
    object Table3OUTRASDAPI: TSmallintField
      FieldName = 'OUTRASDAPI'
    end
    object Table3BCIPI: TSmallintField
      FieldName = 'BCIPI'
    end
    object Table3IPI: TSmallintField
      FieldName = 'IPI'
    end
    object Table3CAMPO10: TStringField
      FieldName = 'CAMPO10'
      Size = 12
    end
    object Table3CAMPO11: TStringField
      FieldName = 'CAMPO11'
      Size = 12
    end
    object Table3CAMPO12: TStringField
      FieldName = 'CAMPO12'
      Size = 12
    end
  end
  object Table11: TADOTable
    Connection = base.ECF
    TableName = 'E60M'
    Left = 384
    object Table11INDICE: TIntegerField
      FieldName = 'INDICE'
    end
    object Table11TIPO: TStringField
      FieldName = 'TIPO'
      Size = 3
    end
    object Table11DATA: TStringField
      FieldName = 'DATA'
      Size = 10
    end
    object Table11NUMEROFABRICACAO: TStringField
      FieldName = 'NUMEROFABRICACAO'
    end
    object Table11NUMEROECF: TStringField
      FieldName = 'NUMEROECF'
      Size = 3
    end
    object Table11CODIGOMODELO: TStringField
      FieldName = 'CODIGOMODELO'
      Size = 2
    end
    object Table11NUMEROULTIMODOCUMENTO: TStringField
      FieldName = 'NUMEROULTIMODOCUMENTO'
      Size = 6
    end
    object Table11NUMEROPRIMEIRODOCUMENTO: TStringField
      FieldName = 'NUMEROPRIMEIRODOCUMENTO'
      Size = 6
    end
    object Table11CONTADORREDUCAOZ: TStringField
      FieldName = 'CONTADORREDUCAOZ'
      Size = 6
    end
    object Table11VALORACUMULADOCONTADOR: TStringField
      FieldName = 'VALORACUMULADOCONTADOR'
      Size = 3
    end
    object Table11VALORVENDA: TStringField
      FieldName = 'VALORVENDA'
      Size = 17
    end
    object Table11VALORGERAL: TStringField
      FieldName = 'VALORGERAL'
      Size = 17
    end
  end
  object Table12: TADOTable
    Connection = base.ECF
    CursorType = ctStatic
    IndexFieldNames = 'INDICE;TIPO;DATA;NUMEROFABRICACAO'
    MasterFields = 'INDICE;TIPO;DATA;NUMEROFABRICACAO'
    MasterSource = DataSource1
    TableName = 'E60A'
    Left = 384
    Top = 32
    object Table12INDICE: TIntegerField
      FieldName = 'INDICE'
    end
    object Table12TIPO: TStringField
      FieldName = 'TIPO'
      Size = 3
    end
    object Table12DATA: TStringField
      FieldName = 'DATA'
      Size = 10
    end
    object Table12NUMEROFABRICACAO: TStringField
      FieldName = 'NUMEROFABRICACAO'
    end
    object Table12ALIQUOTA: TStringField
      FieldName = 'ALIQUOTA'
      Size = 4
    end
    object Table12VALORTOTAL: TStringField
      FieldName = 'VALOR TOTAL'
      Size = 17
    end
  end
  object Query1: TADOQuery
    Connection = base.ECF
    OnFilterRecord = Query1FilterRecord
    Parameters = <>
    SQL.Strings = (
      'select * from rcdpe')
    Left = 632
    Top = 56
    object Query1XNUMERO: TStringField
      FieldName = 'XNUMERO'
      Size = 6
    end
    object Query1XDATA: TDateTimeField
      FieldName = 'XDATA'
    end
    object Query1XESP: TStringField
      FieldName = 'XESP'
      Size = 3
    end
    object Query1XSERIE: TStringField
      FieldName = 'XSERIE'
      Size = 3
    end
    object Query1XES: TStringField
      FieldName = 'XES'
      Size = 1
    end
    object Query1XCOD: TStringField
      FieldName = 'XCOD'
      Size = 15
    end
    object Query1XDIA: TStringField
      FieldName = 'XDIA'
      Size = 2
    end
    object Query1XCLP: TStringField
      FieldName = 'XCLP'
      Size = 4
    end
    object Query1XCODFISCA: TStringField
      FieldName = 'XCODFISCA'
      Size = 4
    end
    object Query1XCODIGOES: TStringField
      FieldName = 'XCODIGOES'
      Size = 1
    end
    object Query1XQTDE: TFloatField
      FieldName = 'XQTDE'
    end
    object Query1XVALOR: TFloatField
      FieldName = 'XVALOR'
    end
    object Query1XALIPI: TFloatField
      FieldName = 'XALIPI'
    end
    object Query1XVALORIPI: TFloatField
      FieldName = 'XVALORIPI'
    end
    object Query1XOBS: TStringField
      FieldName = 'XOBS'
    end
    object Query1XSIT_TRIB: TStringField
      FieldName = 'XSIT_TRIB'
      Size = 1
    end
    object Query1XALIQ_ST: TFloatField
      FieldName = 'XALIQ_ST'
    end
    object Query1XVR_DESC: TFloatField
      FieldName = 'XVR_DESC'
    end
    object Query1XAL_ICMS: TFloatField
      FieldName = 'XAL_ICMS'
    end
    object Query1XBC_ICMS_ST: TFloatField
      FieldName = 'XBC_ICMS_ST'
    end
    object Query1XBC_ICMS: TFloatField
      FieldName = 'XBC_ICMS'
    end
  end
  object Query2: TADOQuery
    Connection = base.ECF
    OnFilterRecord = Query2FilterRecord
    Parameters = <>
    SQL.Strings = (
      'select * from saida')
    Left = 600
    Top = 56
    object Query2DIAMES: TDateTimeField
      FieldName = 'DIAMES'
    end
    object Query2NOTA: TStringField
      FieldName = 'NOTA'
      Size = 9
    end
    object Query2XLC: TStringField
      FieldName = 'XLC'
      Size = 2
    end
    object Query2XMAQ: TStringField
      FieldName = 'XMAQ'
      Size = 3
    end
    object Query2EMISSAO: TDateTimeField
      FieldName = 'EMISSAO'
    end
    object Query2ESP: TStringField
      FieldName = 'ESP'
      Size = 4
    end
    object Query2SERIE: TStringField
      FieldName = 'SERIE'
      Size = 5
    end
    object Query2NOTAA: TStringField
      FieldName = 'NOTAA'
      Size = 6
    end
    object Query2CGCCPF: TStringField
      FieldName = 'CGCCPF'
      Size = 14
    end
    object Query2UF: TStringField
      FieldName = 'UF'
      Size = 2
    end
    object Query2CODFISCA: TStringField
      FieldName = 'CODFISCA'
      Size = 4
    end
    object Query2XCCF: TStringField
      FieldName = 'XCCF'
      Size = 2
    end
    object Query2OBS: TStringField
      FieldName = 'OBS'
      Size = 15
    end
    object Query2VALCONT: TFloatField
      FieldName = 'VALCONT'
    end
    object Query2BASCALICM: TFloatField
      FieldName = 'BASCALICM'
    end
    object Query2ALICM: TFloatField
      FieldName = 'ALICM'
    end
    object Query2ICM: TFloatField
      FieldName = 'ICM'
    end
    object Query2ISENTOICM: TFloatField
      FieldName = 'ISENTOICM'
    end
    object Query2OUTRASICM: TFloatField
      FieldName = 'OUTRASICM'
    end
    object Query2XDIFSUSP: TFloatField
      FieldName = 'XDIFSUSP'
    end
    object Query2BASCALIPI: TFloatField
      FieldName = 'BASCALIPI'
    end
    object Query2ALIPI: TFloatField
      FieldName = 'ALIPI'
    end
    object Query2IPI: TFloatField
      FieldName = 'IPI'
    end
    object Query2ISENTOIPI: TFloatField
      FieldName = 'ISENTOIPI'
    end
    object Query2OUTRASIPI: TFloatField
      FieldName = 'OUTRASIPI'
    end
    object Query2IPINAPROV: TFloatField
      FieldName = 'IPINAPROV'
    end
    object Query2IMPFONTE: TFloatField
      FieldName = 'IMPFONTE'
    end
    object Query2XLDIPI: TStringField
      FieldName = 'XLDIPI'
      Size = 1
    end
    object Query2XCLP: TStringField
      FieldName = 'XCLP'
      Size = 4
    end
    object Query2XDG: TDateTimeField
      FieldName = 'XDG'
    end
    object Query2XDAPIMG25: TFloatField
      FieldName = 'XDAPIMG25'
    end
    object Query2XDAPIMG29: TFloatField
      FieldName = 'XDAPIMG29'
    end
    object Query2XDAPIMG32: TFloatField
      FieldName = 'XDAPIMG32'
    end
    object Query2XDAPIMG33: TFloatField
      FieldName = 'XDAPIMG33'
    end
    object Query2XDAPIMG35: TFloatField
      FieldName = 'XDAPIMG35'
    end
    object Query2XDAPIMG36: TFloatField
      FieldName = 'XDAPIMG36'
    end
    object Query2XDAPIMG37: TFloatField
      FieldName = 'XDAPIMG37'
    end
    object Query2XDAPIMG39: TFloatField
      FieldName = 'XDAPIMG39'
    end
    object Query2XBCSAIDA30: TFloatField
      FieldName = 'XBCSAIDA30'
    end
    object Query2XBCSAIDA25: TFloatField
      FieldName = 'XBCSAIDA25'
    end
    object Query2XBCSAIDA18: TFloatField
      FieldName = 'XBCSAIDA18'
    end
    object Query2XBCSAIDA12: TFloatField
      FieldName = 'XBCSAIDA12'
    end
    object Query2XISENTAS: TFloatField
      FieldName = 'XISENTAS'
    end
    object Query2XNTRIB: TFloatField
      FieldName = 'XNTRIB'
    end
    object Query2XPARC_BC_: TFloatField
      FieldName = 'XPARC_BC_'
    end
    object Query2XDIFERIDAS: TFloatField
      FieldName = 'XDIFERIDAS'
    end
    object Query2XSUSPENSAS: TFloatField
      FieldName = 'XSUSPENSAS'
    end
    object Query2XST: TFloatField
      FieldName = 'XST'
    end
    object Query2XOUTRAS: TFloatField
      FieldName = 'XOUTRAS'
    end
    object Query2XBCSAIDA07: TFloatField
      FieldName = 'XBCSAIDA07'
    end
    object Query2XOUTROSIMP: TFloatField
      FieldName = 'XOUTROSIMP'
    end
    object Query2XDAPIMG27: TFloatField
      FieldName = 'XDAPIMG27'
    end
    object Query2XDAPIMG40: TFloatField
      FieldName = 'XDAPIMG40'
    end
    object Query2XC_MUN: TStringField
      FieldName = 'XC_MUN'
      Size = 5
    end
    object Query2XBC_ST: TFloatField
      FieldName = 'XBC_ST'
    end
    object Query2XIR_ST: TFloatField
      FieldName = 'XIR_ST'
    end
    object Query2XIR_SD: TFloatField
      FieldName = 'XIR_SD'
    end
    object Query2XSUBITEM: TStringField
      FieldName = 'XSUBITEM'
      Size = 5
    end
    object Query2XP_ST: TStringField
      FieldName = 'XP_ST'
      Size = 1
    end
    object Query2XRE: TStringField
      FieldName = 'XRE'
      Size = 15
    end
    object Query2XORDEM: TIntegerField
      FieldName = 'XORDEM'
    end
    object Query2XCAFE: TStringField
      FieldName = 'XCAFE'
      Size = 3
    end
    object Query2XMOD_FRETE: TStringField
      FieldName = 'XMOD_FRETE'
      Size = 1
    end
    object Query2XIND_FRT: TStringField
      FieldName = 'XIND_FRT'
      Size = 1
    end
    object Query2XF_CNPJ: TStringField
      FieldName = 'XF_CNPJ'
      Size = 14
    end
    object Query2XF_EMISSAO: TDateTimeField
      FieldName = 'XF_EMISSAO'
    end
    object Query2XF_MODELO: TStringField
      FieldName = 'XF_MODELO'
      Size = 2
    end
    object Query2XF_SERIE: TStringField
      FieldName = 'XF_SERIE'
      Size = 3
    end
    object Query2XF_NF: TStringField
      FieldName = 'XF_NF'
      Size = 6
    end
    object Query2XF_VALOR: TFloatField
      FieldName = 'XF_VALOR'
    end
    object Query2XINSCR_RURAL: TStringField
      FieldName = 'XINSCR_RURAL'
      Size = 14
    end
  end
  object Query3: TADOQuery
    Connection = base.ECF
    Parameters = <>
    SQL.Strings = (
      'select * from saida')
    Left = 664
    Top = 56
    object Query3DIAMES: TDateTimeField
      FieldName = 'DIAMES'
    end
    object Query3NOTA: TStringField
      FieldName = 'NOTA'
      Size = 9
    end
    object Query3XLC: TStringField
      FieldName = 'XLC'
      Size = 2
    end
    object Query3XMAQ: TStringField
      FieldName = 'XMAQ'
      Size = 3
    end
    object Query3EMISSAO: TDateTimeField
      FieldName = 'EMISSAO'
    end
    object Query3ESP: TStringField
      FieldName = 'ESP'
      Size = 4
    end
    object Query3SERIE: TStringField
      FieldName = 'SERIE'
      Size = 5
    end
    object Query3NOTAA: TStringField
      FieldName = 'NOTAA'
      Size = 6
    end
    object Query3CGCCPF: TStringField
      FieldName = 'CGCCPF'
      Size = 14
    end
    object Query3UF: TStringField
      FieldName = 'UF'
      Size = 2
    end
    object Query3CODFISCA: TStringField
      FieldName = 'CODFISCA'
      Size = 4
    end
    object Query3XCCF: TStringField
      FieldName = 'XCCF'
      Size = 2
    end
    object Query3OBS: TStringField
      FieldName = 'OBS'
      Size = 15
    end
    object Query3VALCONT: TFloatField
      FieldName = 'VALCONT'
    end
    object Query3BASCALICM: TFloatField
      FieldName = 'BASCALICM'
    end
    object Query3ALICM: TFloatField
      FieldName = 'ALICM'
    end
    object Query3ICM: TFloatField
      FieldName = 'ICM'
    end
    object Query3ISENTOICM: TFloatField
      FieldName = 'ISENTOICM'
    end
    object Query3OUTRASICM: TFloatField
      FieldName = 'OUTRASICM'
    end
    object Query3XDIFSUSP: TFloatField
      FieldName = 'XDIFSUSP'
    end
    object Query3BASCALIPI: TFloatField
      FieldName = 'BASCALIPI'
    end
    object Query3ALIPI: TFloatField
      FieldName = 'ALIPI'
    end
    object Query3IPI: TFloatField
      FieldName = 'IPI'
    end
    object Query3ISENTOIPI: TFloatField
      FieldName = 'ISENTOIPI'
    end
    object Query3OUTRASIPI: TFloatField
      FieldName = 'OUTRASIPI'
    end
    object Query3IPINAPROV: TFloatField
      FieldName = 'IPINAPROV'
    end
    object Query3IMPFONTE: TFloatField
      FieldName = 'IMPFONTE'
    end
    object Query3XLDIPI: TStringField
      FieldName = 'XLDIPI'
      Size = 1
    end
    object Query3XCLP: TStringField
      FieldName = 'XCLP'
      Size = 4
    end
    object Query3XDG: TDateTimeField
      FieldName = 'XDG'
    end
    object Query3XDAPIMG25: TFloatField
      FieldName = 'XDAPIMG25'
    end
    object Query3XDAPIMG29: TFloatField
      FieldName = 'XDAPIMG29'
    end
    object Query3XDAPIMG32: TFloatField
      FieldName = 'XDAPIMG32'
    end
    object Query3XDAPIMG33: TFloatField
      FieldName = 'XDAPIMG33'
    end
    object Query3XDAPIMG35: TFloatField
      FieldName = 'XDAPIMG35'
    end
    object Query3XDAPIMG36: TFloatField
      FieldName = 'XDAPIMG36'
    end
    object Query3XDAPIMG37: TFloatField
      FieldName = 'XDAPIMG37'
    end
    object Query3XDAPIMG39: TFloatField
      FieldName = 'XDAPIMG39'
    end
    object Query3XBCSAIDA30: TFloatField
      FieldName = 'XBCSAIDA30'
    end
    object Query3XBCSAIDA25: TFloatField
      FieldName = 'XBCSAIDA25'
    end
    object Query3XBCSAIDA18: TFloatField
      FieldName = 'XBCSAIDA18'
    end
    object Query3XBCSAIDA12: TFloatField
      FieldName = 'XBCSAIDA12'
    end
    object Query3XISENTAS: TFloatField
      FieldName = 'XISENTAS'
    end
    object Query3XNTRIB: TFloatField
      FieldName = 'XNTRIB'
    end
    object Query3XPARC_BC_: TFloatField
      FieldName = 'XPARC_BC_'
    end
    object Query3XDIFERIDAS: TFloatField
      FieldName = 'XDIFERIDAS'
    end
    object Query3XSUSPENSAS: TFloatField
      FieldName = 'XSUSPENSAS'
    end
    object Query3XST: TFloatField
      FieldName = 'XST'
    end
    object Query3XOUTRAS: TFloatField
      FieldName = 'XOUTRAS'
    end
    object Query3XBCSAIDA07: TFloatField
      FieldName = 'XBCSAIDA07'
    end
    object Query3XOUTROSIMP: TFloatField
      FieldName = 'XOUTROSIMP'
    end
    object Query3XDAPIMG27: TFloatField
      FieldName = 'XDAPIMG27'
    end
    object Query3XDAPIMG40: TFloatField
      FieldName = 'XDAPIMG40'
    end
    object Query3XC_MUN: TStringField
      FieldName = 'XC_MUN'
      Size = 5
    end
    object Query3XBC_ST: TFloatField
      FieldName = 'XBC_ST'
    end
    object Query3XIR_ST: TFloatField
      FieldName = 'XIR_ST'
    end
    object Query3XIR_SD: TFloatField
      FieldName = 'XIR_SD'
    end
    object Query3XSUBITEM: TStringField
      FieldName = 'XSUBITEM'
      Size = 5
    end
    object Query3XP_ST: TStringField
      FieldName = 'XP_ST'
      Size = 1
    end
    object Query3XRE: TStringField
      FieldName = 'XRE'
      Size = 15
    end
    object Query3XORDEM: TIntegerField
      FieldName = 'XORDEM'
    end
    object Query3XCAFE: TStringField
      FieldName = 'XCAFE'
      Size = 3
    end
    object Query3XMOD_FRETE: TStringField
      FieldName = 'XMOD_FRETE'
      Size = 1
    end
    object Query3XIND_FRT: TStringField
      FieldName = 'XIND_FRT'
      Size = 1
    end
    object Query3XF_CNPJ: TStringField
      FieldName = 'XF_CNPJ'
      Size = 14
    end
    object Query3XF_EMISSAO: TDateTimeField
      FieldName = 'XF_EMISSAO'
    end
    object Query3XF_MODELO: TStringField
      FieldName = 'XF_MODELO'
      Size = 2
    end
    object Query3XF_SERIE: TStringField
      FieldName = 'XF_SERIE'
      Size = 3
    end
    object Query3XF_NF: TStringField
      FieldName = 'XF_NF'
      Size = 6
    end
    object Query3XF_VALOR: TFloatField
      FieldName = 'XF_VALOR'
    end
    object Query3XINSCR_RURAL: TStringField
      FieldName = 'XINSCR_RURAL'
      Size = 14
    end
  end
  object Query4: TADOQuery
    Connection = base.ECF
    Parameters = <>
    SQL.Strings = (
      'select codfisca from saida'
      'group by codfisca')
    Left = 696
    Top = 56
    object Query4codfisca: TStringField
      FieldName = 'codfisca'
      Size = 4
    end
  end
  object Query5: TADOQuery
    Connection = base.ECF
    Parameters = <>
    SQL.Strings = (
      'select xnumero,xdata from rcdpe'
      'group by xnumero,xdata')
    Left = 728
    Top = 56
    object Query5xnumero: TStringField
      FieldName = 'xnumero'
      Size = 6
    end
    object Query5xdata: TDateTimeField
      FieldName = 'xdata'
    end
  end
  object limpar: TADOQuery
    Connection = base.ECF
    Parameters = <>
    Left = 448
  end
  object COMANDO: TADOQuery
    Connection = base.ECF
    CursorType = ctStatic
    Parameters = <>
    SQL.Strings = (
      'select data,cfop,icms,numeroecf from ecf where registro = '#39'60A'#39
      'and icms <> 0'
      'order by Data,cfop,icms')
    Left = 384
    Top = 104
  end
  object FORNECEDOR: TADOQuery
    Connection = base.LED
    Parameters = <>
    Left = 144
    Top = 64
  end
  object ADOQuery1: TADOQuery
    Connection = base.ECF
    CursorType = ctStatic
    Parameters = <>
    SQL.Strings = (
      'select data,nota,cnpj,cfop from ecf'
      'group by data,nota,cnpj,cfop')
    Left = 384
    Top = 64
  end
  object DataSource7: TDataSource
    DataSet = ADOQuery1
    Left = 424
    Top = 64
  end
  object fornecedores: TADOTable
    Connection = base.ECF
    TableName = 'FORNECEDOR'
    Left = 760
    Top = 56
    object fornecedoresNOME: TStringField
      FieldName = 'NOME'
      Size = 50
    end
    object fornecedoresCNPJ: TWideStringField
      FieldName = 'CNPJ'
      FixedChar = True
      Size = 14
    end
    object fornecedoresIE: TWideStringField
      FieldName = 'IE'
      FixedChar = True
      Size = 15
    end
    object fornecedoresUF: TWideStringField
      FieldName = 'UF'
      FixedChar = True
      Size = 2
    end
    object fornecedoresCODIGO: TWideStringField
      FieldName = 'CODIGO'
      FixedChar = True
    end
  end
  object DataSource6: TDataSource
    DataSet = COMANDO
    Left = 424
    Top = 104
  end
  object maqecf: TADOQuery
    Connection = base.LED
    Parameters = <>
    Left = 144
    Top = 160
  end
  object PopupMenu1: TPopupMenu
    Left = 568
    Top = 136
    object ECF1: TMenuItem
      Caption = 'ENTRADA'
      OnClick = ECF1Click
    end
    object ENTRADA1: TMenuItem
      Caption = 'SAIDA'
      OnClick = ENTRADA1Click
    end
    object ECF2: TMenuItem
      Caption = 'ECF'
      OnClick = ECF2Click
    end
  end
  object OpenDialog1: TOpenDialog
    Left = 872
    Top = 472
  end
  object raecf: TADOQuery
    Connection = base.LED
    CursorType = ctStatic
    Parameters = <>
    SQL.Strings = (
      
        'select xdt_emissao,xcfop,xvr_icms from raecf where xdt_emissao b' +
        'etween '#39'01/07/2014'#39' and '#39'31/07/2014'#39
      'and xvr_icms <> 0'
      'order by xdt_emissao,xcfop,xvr_icms')
    Left = 144
    Top = 192
  end
  object IBGE: TADOTable
    Connection = base.SISTEMA
    CursorType = ctStatic
    OnFilterRecord = Table3FilterRecord
    TableName = 'CodigoIBGE'
    Left = 384
    Top = 208
  end
  object DataSource8: TDataSource
    DataSet = raecf
    Left = 200
    Top = 200
  end
  object EAN: TADOTable
    Connection = base.SISTEMA
    TableName = 'ean'
    Left = 920
    Top = 256
  end
  object ADOQuery2: TADOQuery
    ConnectionString = 
      'Provider=SQLOLEDB.1;Password=And4r$on;Persist Security Info=True' +
      ';User ID=sa;Initial Catalog=SISTEMA;Data Source=SERVIDORI7\SISTE' +
      'MA;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4' +
      '096;Workstation ID=ANDERSON;Use Encryption for Data=False;Tag wi' +
      'th column collation when possible=False'
    Parameters = <>
    SQL.Strings = (
      'delete from ean')
    Left = 920
    Top = 296
  end
end
